package com.qingmeng.outsourcing.mapper;

import com.qingmeng.outsourcing.model.ProjectBudget;
import com.qingmeng.outsourcing.model.ProjectBudgetExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ProjectBudgetMapper {
    long countByExample(ProjectBudgetExample example);

    int deleteByExample(ProjectBudgetExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ProjectBudget record);

    int insertSelective(ProjectBudget record);

    List<ProjectBudget> selectByExample(ProjectBudgetExample example);

    ProjectBudget selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ProjectBudget record, @Param("example") ProjectBudgetExample example);

    int updateByExample(@Param("record") ProjectBudget record, @Param("example") ProjectBudgetExample example);

    int updateByPrimaryKeySelective(ProjectBudget record);

    int updateByPrimaryKey(ProjectBudget record);
}